<template>
  <div>
    <div class="chartTitle">
      <p>放空（总数：<span class="totalCount">{{ total }}</span>）</p>
    </div>
    <Chart :cdata="cdata" />
  </div>
</template>

<script>
import Chart from './chart.vue';
export default {
  data () {
    return {
      total: 64,
      cdata: {
        xData: ["其他", "改派", "回拨退车", "车到人走"],
        seriesData: [
          { value: 0, name: "其他" },
          { value: 0, name: "改派" },
          { value: 0, name: "回拨退车" },
          { value: 0, name: "车到人走" }
        ]
      }
    }
  },
  components: {
    Chart,
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.chartTitle {
  width: 100%;
  height: 20px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}
.totalCount {
  color: #3de7c9;
}
</style>
